<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title><s:property value='%{getText("emp_title")}' /></title>
		<link href="/SCMDB/style/main.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="/SCMDB/js/Super.js"></script>
		<script type="text/javascript" src="/SCMDB/realTime/js/BaseJS.js"></script>
		<%@ include file="../commonPage/message.jsp"%>
	</head>
	<body>
		<h2>
			<s:property value='%{getText("realTimeEmp_h2")}' />
		</h2>
		<s:form action="monitorDataAction!findAll.action" method="post" theme="simple">
			<s:hidden name="searchType"></s:hidden>
			<s:hidden name="department"></s:hidden>
			<s:hidden name="workType"></s:hidden>
			<s:hidden name="idShift"></s:hidden>
			<s:hidden name="idArea"></s:hidden>
			<s:hidden name="idReader"></s:hidden>
			<div class="main">
				<table border="0" cellpadding="1" cellspacing="1" class="tableList">
					<thead>
						<tr>
							<th width="10%" class="number">
								<s:property value='%{getText("emp_th1")}' />
							</th>
							
							<th width="10%">
								<s:property value='%{getText("emp_th3")}' />
							</th>
							
							<th width="10%">
								人员编号
							</th>
							<th width="10%">
								违章记录数量（次）
							</th>
							<th width="10%">
								每日安全讲评
							</th>
							<th width="20%">
								岗位/工种
							</th>
							<th width="20%">
								单位
							</th>
							<th width="10%">
								班组
							</th>
							
						</tr>
					</thead>

					<tbody>
						<s:iterator id="emp" value="entity.list" status="u">
							<tr>
								<td class="number">
									${entity.index+u.index}
								</td>
								<td>
										<a href="#" onclick="Super.Popup(5,'查询','/SCMDB/employeeAction!findEmp.action?id=${emp.id}','',700,600);">
											${emp.empName} 
										</a>&nbsp;
										         （<a href="/SCMDB/monitorDataAction!findTruck.action?empID=<s:property value='id'/>">轨迹查询</a>）
									
								</td>
								
								<td>
									${emp.empWorkID}
								</td>
								<td>
									${emp.peccancys}
								</td>
								<td>
								<s:if test="#emp.safetys == 2">未讲评</s:if>
								<s:if test="#emp.safetys == 1">已讲评</s:if>
								</td>
								<td>
									${emp.empWorkType}
								</td>
								<td>
									${emp.unitName}
								</td>
								<td>
									${emp.empDep}
								</td>
							
							</tr>
						</s:iterator>
						<tr>
							<td colspan="11" class="turnPage">
								<jsp:include flush="true" page="../commonPage/page.jsp">
									<jsp:param name="entity" value="entity" />
								</jsp:include>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</s:form>
	</body>
</html>
